# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=dfc
pkgver=3.1.1
pkgrel=2
arch="all"
url="https://projects.gw-computing.net/projects/dfc"
pkgdesc="Report file system space usage information with style"
license="BSD-3-Clause"
makedepends="cmake"
source="https://projects.gw-computing.net/attachments/download/615/dfc-$pkgver.tar.gz"
subpackages="$pkgname-doc"
options="!check" # No tests available

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DSYSCONFDIR=/etc
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="eac2c8d464d57626efe939f515889cf91510f7e6eb50382d045204d4f1d6b9b9f0af4b1d8974c9cbcff1eb5b8802157e421ec06e5a1e38dac74eba72f43f9701  dfc-3.1.1.tar.gz"
